package cn.itcast.hotel.dto;

import lombok.Data;

@Data
public class RequestParams {
    private String key;
    private Integer page;
    private Integer size;
    private String sortBy;

    //案例2：添加品牌、城市、星级、价格等过滤功能
    //第一步：接收条件过滤几个参数
    private String brand;
    private String starName;
    private String city;
    private Integer minPrice;
    private Integer maxPrice;

    //案例3：我附近的酒店
    //第一步：添加location字段 接收经纬度
    private String location;
}
